#ifndef LINE_CHART_WIDGET_HPP_INCLUDED
#define LINE_CHART_WIDGET_HPP_INCLUDED

#include <vector>

#include "widget.hpp"

namespace gui {
class line_chart_widget : public widget
{
public:
	line_chart_widget();
	void add_plot(const std::vector<int>& data);
private:
	void handle_draw() const;
	std::vector<std::vector<int> > data_;
	int longest_plot_;
	int highest_point_;
};
}

#endif
